[INFO] cloning repository https://github.com/britespeck/Britespeck-Engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/britespeck/Britespeck-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9f003bf3ba146ba7004cbe2e7a27a02a0ffa38c
[INFO] testing britespeck/Britespeck-Engine against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/britespeck/Britespeck-Engine
[INFO] finished tweaking git repo https://github.com/britespeck/Britespeck-Engine
[INFO] tweaked toml for git repo https://github.com/britespeck/Britespeck-Engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/britespeck/Britespeck-Engine on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/britespeck/Britespeck-Engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded compression-core v0.4.32
[INFO] [stderr]   Downloaded compression-codecs v0.4.38
[INFO] [stderr]   Downloaded redox_syscall v0.7.5
[INFO] [stderr]   Downloaded openssl-sys v0.9.115
[INFO] [stderr]   Downloaded cookie_store v0.20.0
[INFO] [stderr]   Downloaded async-compression v0.4.42
[INFO] [stderr]   Downloaded cookie v0.17.0
[INFO] [stderr]   Downloaded openssl v0.10.79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24c49e200077d0bc06d024f9737b18b41d4642e6db901623f04a692c9f8e2046
[INFO] running `Command { std: "docker" "start" "-a" "24c49e200077d0bc06d024f9737b18b41d4642e6db901623f04a692c9f8e2046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24c49e200077d0bc06d024f9737b18b41d4642e6db901623f04a692c9f8e2046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24c49e200077d0bc06d024f9737b18b41d4642e6db901623f04a692c9f8e2046", kill_on_drop: false }`
[INFO] [stdout] 24c49e200077d0bc06d024f9737b18b41d4642e6db901623f04a692c9f8e2046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20e9cb401ba17bd884a5855d93ee8da1c2f3a68d8cdd8218352fddc0110e2642
[INFO] running `Command { std: "docker" "start" "-a" "20e9cb401ba17bd884a5855d93ee8da1c2f3a68d8cdd8218352fddc0110e2642", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling psl-types v2.0.11
[INFO] [stderr]    Compiling compression-core v0.4.32
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling publicsuffix v2.3.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling compression-codecs v0.4.38
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling async-compression v0.4.42
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling cookie_store v0.20.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling rsa v0.9.10
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling britespeck_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/fetchers/polymarket_clob.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/arb_detector.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/trades.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |         for (i, t) in chunk.iter().enumerate() {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_profit_cents`
[INFO] [stdout]   --> src/arb_detector.rs:95:42
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_profit_cents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:99:37
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn get_active_arb_signals(pool: &PgPool) -> Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:267:21
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 let token = std::env::var("KALSHI_API_TOKEN").unwrap_or_default();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_price` is never read
[INFO] [stdout]   --> src/trades.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct KalshiTrade {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     no_price: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KalshiTrade` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expire_stale_signals` is never used
[INFO] [stdout]    --> src/ev_engine.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub async fn expire_stale_signals(pool: &PgPool, max_age_hours: i64) -> anyhow::Result<usize> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeframe` is never read
[INFO] [stdout]   --> src/endpoints.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct BacktestParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub timeframe: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BacktestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_snapshots` is never used
[INFO] [stdout]    --> src/market_history.rs:422:14
[INFO] [stdout]     |
[INFO] [stdout] 422 | pub async fn prune_old_snapshots(pool: &PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TTL_FED` is never used
[INFO] [stdout]   --> src/player_stats.rs:94:7
[INFO] [stdout]    |
[INFO] [stdout] 94 | const TTL_FED: u64          = 3600;        // 1 hour
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KALSHI_FEE_TABLE` is never used
[INFO] [stdout]  --> src/arb_detector.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static KALSHI_FEE_TABLE: [u16; 101] = {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kalshi_fee` is never used
[INFO] [stdout]   --> src/arb_detector.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn kalshi_fee(price_cents: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArbSignal` is never constructed
[INFO] [stdout]   --> src/arb_detector.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ArbSignal {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_profitable` is never used
[INFO] [stdout]   --> src/arb_detector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl ArbSignal {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 41 |     pub fn is_profitable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_arb` is never used
[INFO] [stdout]   --> src/arb_detector.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn check_arb(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_arb_scan` is never used
[INFO] [stdout]   --> src/arb_detector.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "20e9cb401ba17bd884a5855d93ee8da1c2f3a68d8cdd8218352fddc0110e2642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20e9cb401ba17bd884a5855d93ee8da1c2f3a68d8cdd8218352fddc0110e2642", kill_on_drop: false }`
[INFO] [stdout] 20e9cb401ba17bd884a5855d93ee8da1c2f3a68d8cdd8218352fddc0110e2642
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3433f5b0dd87382f08e087a1854a26183b9a58881ecf32134e3e26acf5ed61ac
[INFO] running `Command { std: "docker" "start" "-a" "3433f5b0dd87382f08e087a1854a26183b9a58881ecf32134e3e26acf5ed61ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling britespeck_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/fetchers/polymarket_clob.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/arb_detector.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/trades.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |         for (i, t) in chunk.iter().enumerate() {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_profit_cents`
[INFO] [stdout]   --> src/arb_detector.rs:95:42
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_profit_cents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:99:37
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn get_active_arb_signals(pool: &PgPool) -> Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:267:21
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 let token = std::env::var("KALSHI_API_TOKEN").unwrap_or_default();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_price` is never read
[INFO] [stdout]   --> src/trades.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct KalshiTrade {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     no_price: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KalshiTrade` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expire_stale_signals` is never used
[INFO] [stdout]    --> src/ev_engine.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub async fn expire_stale_signals(pool: &PgPool, max_age_hours: i64) -> anyhow::Result<usize> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeframe` is never read
[INFO] [stdout]   --> src/endpoints.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct BacktestParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub timeframe: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BacktestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_snapshots` is never used
[INFO] [stdout]    --> src/market_history.rs:422:14
[INFO] [stdout]     |
[INFO] [stdout] 422 | pub async fn prune_old_snapshots(pool: &PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TTL_FED` is never used
[INFO] [stdout]   --> src/player_stats.rs:94:7
[INFO] [stdout]    |
[INFO] [stdout] 94 | const TTL_FED: u64          = 3600;        // 1 hour
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KALSHI_FEE_TABLE` is never used
[INFO] [stdout]  --> src/arb_detector.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static KALSHI_FEE_TABLE: [u16; 101] = {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kalshi_fee` is never used
[INFO] [stdout]   --> src/arb_detector.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn kalshi_fee(price_cents: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArbSignal` is never constructed
[INFO] [stdout]   --> src/arb_detector.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ArbSignal {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_profitable` is never used
[INFO] [stdout]   --> src/arb_detector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl ArbSignal {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 41 |     pub fn is_profitable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_arb` is never used
[INFO] [stdout]   --> src/arb_detector.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn check_arb(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_arb_scan` is never used
[INFO] [stdout]   --> src/arb_detector.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.37s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "3433f5b0dd87382f08e087a1854a26183b9a58881ecf32134e3e26acf5ed61ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3433f5b0dd87382f08e087a1854a26183b9a58881ecf32134e3e26acf5ed61ac", kill_on_drop: false }`
[INFO] [stdout] 3433f5b0dd87382f08e087a1854a26183b9a58881ecf32134e3e26acf5ed61ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ea26975dc962e04a4ed4ba1761fdf664d4bdeee5402634766967b6cb21277a31
[INFO] running `Command { std: "docker" "start" "-a" "ea26975dc962e04a4ed4ba1761fdf664d4bdeee5402634766967b6cb21277a31", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]   --> src/fetchers/polymarket_clob.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use uuid::Uuid;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing::info`
[INFO] [stderr]  --> src/arb_detector.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use tracing::info;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/trades.rs:235:17
[INFO] [stderr]     |
[INFO] [stderr] 235 |         for (i, t) in chunk.iter().enumerate() {
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> src/arb_detector.rs:95:27
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `min_profit_cents`
[INFO] [stderr]   --> src/arb_detector.rs:95:42
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_profit_cents`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> src/arb_detector.rs:99:37
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub async fn get_active_arb_signals(pool: &PgPool) -> Result<Vec<serde_json::Value>> {
[INFO] [stderr]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `token`
[INFO] [stderr]    --> src/main.rs:267:21
[INFO] [stderr]     |
[INFO] [stderr] 267 |                 let token = std::env::var("KALSHI_API_TOKEN").unwrap_or_default();
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stderr] 
[INFO] [stderr] warning: field `no_price` is never read
[INFO] [stderr]   --> src/trades.rs:49:5
[INFO] [stderr]    |
[INFO] [stderr] 44 | struct KalshiTrade {
[INFO] [stderr]    |        ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 49 |     no_price: f64,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `KalshiTrade` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `expire_stale_signals` is never used
[INFO] [stderr]    --> src/ev_engine.rs:315:14
[INFO] [stderr]     |
[INFO] [stderr] 315 | pub async fn expire_stale_signals(pool: &PgPool, max_age_hours: i64) -> anyhow::Result<usize> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `timeframe` is never read
[INFO] [stderr]   --> src/endpoints.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct BacktestParams {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 45 |     pub timeframe: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BacktestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `prune_old_snapshots` is never used
[INFO] [stderr]    --> src/market_history.rs:422:14
[INFO] [stderr]     |
[INFO] [stderr] 422 | pub async fn prune_old_snapshots(pool: &PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TTL_FED` is never used
[INFO] [stderr]   --> src/player_stats.rs:94:7
[INFO] [stderr]    |
[INFO] [stderr] 94 | const TTL_FED: u64          = 3600;        // 1 hour
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `KALSHI_FEE_TABLE` is never used
[INFO] [stderr]  --> src/arb_detector.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | static KALSHI_FEE_TABLE: [u16; 101] = {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `kalshi_fee` is never used
[INFO] [stderr]   --> src/arb_detector.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn kalshi_fee(price_cents: u16) -> u16 {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ArbSignal` is never constructed
[INFO] [stderr]   --> src/arb_detector.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct ArbSignal {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_profitable` is never used
[INFO] [stderr]   --> src/arb_detector.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl ArbSignal {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] 41 |     pub fn is_profitable(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_arb` is never used
[INFO] [stderr]   --> src/arb_detector.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub fn check_arb(
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_arb_scan` is never used
[INFO] [stderr]   --> src/arb_detector.rs:95:14
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `britespeck_engine` (bin "britespeck_engine" test) generated 18 warnings (run `cargo fix --bin "britespeck_engine" -p britespeck_engine --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/britespeck_engine-c93e3477a180de19)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ea26975dc962e04a4ed4ba1761fdf664d4bdeee5402634766967b6cb21277a31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea26975dc962e04a4ed4ba1761fdf664d4bdeee5402634766967b6cb21277a31", kill_on_drop: false }`
[INFO] [stdout] ea26975dc962e04a4ed4ba1761fdf664d4bdeee5402634766967b6cb21277a31
